//
//  AppDelegate.swift
//  SinaWebo
//
//  Created by 陶建 on 16/3/22.
//  Copyright © 2016年 taoJ. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        
        // 创建window
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        // 初始化根控制器
        let tabBarVC = CCTabBarController();
        //　设置根控制器
        window?.rootViewController = tabBarVC;
        // 显示根控制器
        window?.makeKeyAndVisible()
        
        return true
    }
}

